#ifndef GUARD_GRAD
#define GUARD_GRAD

#include <string>
#include <istream>
#include <iostream>
#include "Vec.h"
#include "Core.h"

class Grad: public Core{
    //TODO
friend class Student_info;
public:
    Grad():thesis(0){};
    Grad(std::istream &is){
        read(is);
    };
    Grad * clone() const {
        return new Grad(*this);
    }
    double grade() const;
    std::istream & read(std::istream &);
private:
    double thesis;
};

#endif
